/**
 * 
 */
package com.placement.app.forms;

import java.util.ArrayList;
import java.util.List;

import org.apache.struts.action.ActionForm;

import com.placement.app.model.JobData;

/**
 * @author Siddharth
 *
 */
public class MainSearchForm extends ActionForm {
	/**
	 * 
	 */
	private static final long serialVersionUID = -4302962455141685208L;
	private String location;
	private String searchString;
	private List<JobData> searchResults;
	private boolean noSearchResult;
	private ArrayList<String> prevSearch = new ArrayList<String>();
	
	/**
	 * @return the prevSearch
	 */
	public ArrayList<String> getPrevSearch() {
		return prevSearch;
	}
	/**
	 * @param prevSearch the prevSearch to set
	 */
	public void setPrevSearch(ArrayList<String> prevSearch) {
		this.prevSearch = prevSearch;
	}
	/**
	 * @return the noSearchResult
	 */
	public boolean isNoSearchResult() {
		return noSearchResult;
	}
	/**
	 * @param noSearchResult the noSearchResult to set
	 */
	public void setNoSearchResult(boolean noSearchResult) {
		this.noSearchResult = noSearchResult;
	}
	/**
	 * @return the searchResults
	 */
	public List<JobData> getSearchResults() {
		return searchResults;
	}
	/**
	 * @param searchResults the searchResults to set
	 */
	public void setSearchResults(List<JobData> searchResults) {
		this.searchResults = searchResults;
	}
	public void setSearchString(String searchString) {
		this.searchString = searchString;
	}
	public String getSearchString() {
		return searchString;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public String getLocation() {
		return location;
	}
}
